package com.dcruitment.dcruitmentindex.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

/**
 * @ProjectName: decheng
 * @Package: com.decheng.dechengindex.entity
 * @ClassName: Class
 * @Author: lfh
 * @Description:
 * @Date: 2020/3/23 14:29
 * @Version: 1.0
 */
@Data
@TableName("class")
public class Class {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private Integer pid;
    @TableField(exist = false)
    private List<Class> list;

}
